package com.chengyu.core.request;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 商户他账号，明细
 */
@Data
public class DetailReq {


    @ApiModelProperty(value = "类型{1、获取（+） 2、消耗（-）}")
    private Integer type;

    @ApiModelProperty(value = "订单号")
    private String orderCode;

    @ApiModelProperty(value = "手机号")
    private String phone;
    private String memberId;

    @ApiModelProperty(value = "场景值{关联：tbl_scene.code}收入类型")
    private String sceneCode;

    @NotNull(message = "场景id不能为空")
    private Integer sceneId;

    private String sceneName;

    @ApiModelProperty(value = "减碳量")
    private BigDecimal carbonNum;

    @ApiModelProperty(value = "碳积分兑换比例{存储RMB和碳积分的换算比例}")
    private int rate;

    @ApiModelProperty(value = "获取来源类型")
    private Integer originType;
    @ApiModelProperty(value = "数据源")
    private String businessData;
}
